// 权限模块API
import request from '@/utils/request'

export const uploadPath = process.env.VUE_APP_BASE_API + 'apiManage/PicUpload1'

export const baseUrl = process.env.VUE_APP_BASE_API.replace(':9503', '')

// 分类列表
export function getList(data) {
  return request({
    url: '/apiManage/inOut/C2cInoutGoodsList1',
    method: 'post',
    data
  })
}

export function getPage(data) {
  return request({
    url: '/apiManage/inOut/C2cInoutOrderList',
    method: 'post',
    data
  })
}

export function save(data) {
  return request({
    url: '/apiManage/inOut/C2cInoutOrderUpdate',
    method: 'post',
    data
  })
}

export function deletInfo(data) {
  return request({
    url: '/apiManage/inOut/C2cInoutOrderDelete',
    method: 'post',
    data
  })
}

export function outData(data) {
  return request({
    url: '/apiManage/inOut/C2cInoutOrderOut',
    method: 'post',
    data
  })
}

export function userList(data) {
  return request({
    url: '/apiManage/inOut/UserList',
    method: 'post',
    data
  })
}
